Repository navigation
fix(antigravity): accept sdk_options.effort under the docker driver - #274
Merged
Merged
Conversation
The docker driver re-validates a model_dump() of the task, which marks the default thinking_level as set, so any sdk_options.effort other than medium failed check_single_effort_source inside every container. Compare thinking_level by value: the effort overrides the default, and a different thinking_level that is not the default is still an error. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
bai-uipath
marked this pull request as ready for review
December 4, 2026 23:15
bai-uipath
requested review from
CarlesUIPath,
akshaylive,
tmatup and
uipreliga
as code owners
December 4, 2026 23:15
|
I'll analyze this and get back to you. |
uipreliga
approved these changes
Dec 4, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Motivation
sdk_options.efforton Antigravity (feat(agents): one sdk_options.effort for Codex, OpenCode and Antigravity #269) fails every task underdriver: docker. The container re-validates amodel_dump()of the task, which marks the defaultthinking_level: mediumas set, socheck_single_effort_sourcerejects any effort other thanmedium.task.jsonback:EvaluationResultcarries the agent config, so a fixed container alone still gets its result rejected as malformed.Changes
check_single_effort_sourcecomparesthinking_levelby value, not bymodel_fields_set. This is the ruleSimulationConfigalready uses for the same round trip.sdk_options.effortoverrides the defaultmedium; a differentthinking_levelthat is notmediumis still an error.thinking_level: mediumset explicitly, plus a differentsdk_options.effort, is now accepted and the effort applies. Before, it was a validation error.sdk_optionsfield description say this.model_dump()round trip. Both fail onmainwith the validation error above.Validation
mainValidationError)driver: docker,-D agent.sdk_options.effort=highantigravity_thinking_level: highrecordedgemini-4-hydrogen. Both sides used the same base image, with only thecoder-evalwheel swapped on the host and in the image.make verifypasses except for four tests that fail the same way onmainon this machine: the threetest_stats_nonfiniteNaN cases (Python 3.13.7) and a context-window test that readsCLAUDE_CODE_AUTO_COMPACT_WINDOWfrom the calling shell.🤖 Generated with Claude Code